<template>
	<view >
		<view class="content">
			{{info.content}}
		</view>
		<view class="luo">
			<view >
				{{time}}
			</view>
			<view style="text-align: center;">
				{{info.name}}
			</view>
			
		</view>
	</view>
</template>

<script>
	import {formatTime} from '@/utils/format.js'
	export default {
		data() {
			return {
				info:{},
				time:''
			};
		},
		onLoad(options) {
			// console.log(options);
			this.info = JSON.parse(options.annInfo)
			// console.log(this.info);
			this.time = formatTime(this.info.createTime)
		},
	
	}
</script>

<style lang="scss">
	.content{
		padding: 10rpx;
		background-color: f6f6f6;
		width: 90%;
		height: 300rpx;
		margin: 20rpx auto;
		border: 1px solid #eee;
	}
	.luo{
		padding-top: 20rpx;
		margin-right: 50rpx;
		display: flex;
		flex-direction: column;
		font-size: 12px;
		font-weight: 100;
		// justify-content: end;
		float: right;
	}
</style>
